import time

from dey15.Pase import Page
from selenium import webdriver
import unittest
import pytest
class Test_a3mall(unittest.TestCase):
    def setup_class(self):
        self.dr=webdriver.Edge()
        self.a=Page(self.dr)
    def teardown_class(self):
        self.dr.close()
    def test_001(self):
        try:
            self.a.yx()
        except Exception as e:
            print(e)
            a=time.strftime('%Y%m%d%H%M%S')
            self.dr.save_screenshot(a+'.png')
